package com.new2i.dao.able;

import java.util.HashMap;
import java.util.List;
 
import com.new2i.model.ScreenQuarterEntity;

/**
 * 筛查季度数据库访问的接口
 * 
 * @since 2015/09/24
 * @author 2i
 *
 */
public interface ScreenQuarterDao {

	/**
	 * 查询某个机构创建的所有的筛查季度
	 * 
	 * @since 2015/09/24
	 * @author 2i
	 * @param doctor_id
	 * @param page
	 * @return
	 */
	List<HashMap<String, Object>> selectScreenQuarterList(Integer doctor_id, Integer page);

	/**
	 * 
	 * 创建筛查季度
	 * 
	 * @since 2015/09/03
	 * @author 2i
	 * @param scQuarter
	 * @return
	 */

	ScreenQuarterEntity insertScreenQuarter(ScreenQuarterEntity scQuarter);

	/**
	 * 通过id获取筛查季度
	 * 
	 * @since 2015/09/24
	 * @author 2i
	 * @param sc_quarter_id
	 * @return
	 */
	HashMap<String, Object> getScreenQuarterById(Integer sc_quarter_id);
	 
	/**
	 * 修改筛查季度
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param scQuarter 
	 * @return
	 */
	Integer updateScreenQuarter(ScreenQuarterEntity scQuarter);
	

	/**
	 * 移除(软删除)筛查季度
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param sc_quarter_id
	 * @return
	 */
	Integer removeScreenQuarter(Integer sc_quarter_id,Integer doctor_id);
	

	/**
	 * 移除(软删除)筛查季度
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param sc_quarter_id
	 * @return
	 */
	Integer backupScreenQuarter(Integer sc_quarter_id,Integer doctor_id);
	
	/**
	 * 删除筛查季度
	 * 
	 * @author 2i
	 * @since 2015/09/24
	 * @param sc_quarter_id
	 * @return
	 */
	Integer deleteScreenQuarter(Integer sc_quarter_id,Integer doctor_id);
}
